package com.wuze.TCC.pojo;

import java.util.Date;


/**
 * 日志消息实体类
 * @author wuze
 */
public class TransactionLog {


    String trans_id;

    String target_class;

    String target_method;

    String confirm_method;

    String cancel_method;

    int retried_count;

    Date create_time;

    Date last_time;

    int status;

    int role;


    public String getTrans_id() {
        return trans_id;
    }

    public void setTrans_id(String trans_id) {
        this.trans_id = trans_id;
    }

    public String getTarget_class() {
        return target_class;
    }

    public void setTarget_class(String target_class) {
        this.target_class = target_class;
    }

    public String getTarget_method() {
        return target_method;
    }

    public void setTarget_method(String target_method) {
        this.target_method = target_method;
    }

    public String getConfirm_method() {
        return confirm_method;
    }

    public void setConfirm_method(String confirm_method) {
        this.confirm_method = confirm_method;
    }

    public String getCancel_method() {
        return cancel_method;
    }

    public void setCancel_method(String cancel_method) {
        this.cancel_method = cancel_method;
    }

    public int getRetried_count() {
        return retried_count;
    }

    public void setRetried_count(int retried_count) {
        this.retried_count = retried_count;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getLast_time() {
        return last_time;
    }

    public void setLast_time(Date last_time) {
        this.last_time = last_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "TransactionLog{" +
                "trans_id='" + trans_id + '\'' +
                ", target_class='" + target_class + '\'' +
                ", target_method='" + target_method + '\'' +
                ", confirm_method='" + confirm_method + '\'' +
                ", cancel_method='" + cancel_method + '\'' +
                ", retried_count=" + retried_count +
                ", create_time=" + create_time +
                ", last_time=" + last_time +
                ", status=" + status +
                ", role=" + role +
                '}';
    }
}
